<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2d转换之translate.html</title>
    <style>
        div {
            width: 200px;
            height: 200px;
            background-color: peru;
            transform: translateX(50%);
            /* transform: translate(100px, 200px); */
            /* transition: all 0.75s transform; */
        }
    </style>
</head>
<body>
    <div>
    </div>
</body>
</html>